package com.shortvedio.content.es;

import com.shortvedio.base.model.po.Classify;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ClassifyDoc {
    private Long id;
    private Long userId;
    private String name;
    private Integer type;

    public ClassifyDoc(Classify classify){
        this.id = classify.getId();
        this.userId = classify.getUserId();
        this.name = classify.getName();
        this.type = classify.getType();
    }
}
